# 导包
# import requests
# # 发送请求
# response=requests.get(url="http://www.baidu.com")
# response.encoding="UTF-8"
# # 查看响应
# print(response.text)



#导包
import requests
# 发送请求
url="http://kdtx-test.itheima.net/api/captchaImage"
response=requests.get(url=url)
# 查看响应文本
print(response.text)